package cn.itsource.hrm.domain.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;

@Data
public class RegisterDto {
   
    @Pattern(regexp = "13[0-9]\\d{8}|15[1089]\\d{8}",message = "电话格式不正确")
    private String  mobile;//: "1384444555"
    
    @NotBlank(message = "短信验证码不能为空")
    private String  password;//: "123456"
    
    private Long  regChannel;//: 1
    
    @NotBlank(message = "短信验证码不能为空")
    private String  smsCode;//: "2119"
}
